package com.example.personalaccount.entity;


import lombok.*;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "userInform")
public class UserInform {
    @Id
    private String id;
    @NonNull
    private long userId;    // 用户id  不准为空
    private String username ;  // 用户名
    private String description ;  //个人标注
    private String imgId;
    private boolean status ; //是否愿意展示在外


}
